import 'package:flutter/widgets.dart';

class JText extends Text {

  JText(
      String data,
      {
        Color color,
        double fontSize,
        FontWeight fontWeight,
        StrutStyle strutStyle,
        TextAlign textAlign,
        TextOverflow overflow,
        TextDirection textDirection,
        Locale locale,

        bool softWrap,
        int maxLines,
        String semanticsLabel,
        TextWidthBasis textWidthBasis
      }) : super(
    data,
    style : TextStyle(color: color, fontSize: fontSize , fontWeight: fontWeight),
    strutStyle : strutStyle,
    textAlign : textAlign,
    overflow : overflow,
    textDirection : textDirection,
    locale : locale,
    softWrap : softWrap,
    maxLines : maxLines,
    semanticsLabel : semanticsLabel,
    textWidthBasis : textWidthBasis,
  );
}